// 竞赛基础 - 初中数学综合题型（50题）
// 已从动态生成转换为静态题目，确保准确性

interface Question {
  stem: string;
  difficulty: number;
  answer: (string | number)[];
  hint1: string;
  hint2: string;
  solution: string;
}

export const 竞赛基础_QUESTIONS: Question[] = [
  {
    stem: "求1 + 2 + 3 + ... + 15的值。",
    difficulty: 2,
    answer: [120],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 15 × (15 + 1) / 2\n= 15 × 16 / 2\n= 120\n\n答：120。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 20的值。",
    difficulty: 2,
    answer: [210],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 20 × (20 + 1) / 2\n= 20 × 21 / 2\n= 210\n\n答：210。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 25的值。",
    difficulty: 2,
    answer: [325],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 25 × (25 + 1) / 2\n= 25 × 26 / 2\n= 325\n\n答：325。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 30的值。",
    difficulty: 2,
    answer: [465],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 30 × (30 + 1) / 2\n= 30 × 31 / 2\n= 465\n\n答：465。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 35的值。",
    difficulty: 2,
    answer: [630],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 35 × (35 + 1) / 2\n= 35 × 36 / 2\n= 630\n\n答：630。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 40的值。",
    difficulty: 2,
    answer: [820],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 40 × (40 + 1) / 2\n= 40 × 41 / 2\n= 820\n\n答：820。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 45的值。",
    difficulty: 2,
    answer: [1035],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 45 × (45 + 1) / 2\n= 45 × 46 / 2\n= 1035\n\n答：1035。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 50的值。",
    difficulty: 2,
    answer: [1275],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 50 × (50 + 1) / 2\n= 50 × 51 / 2\n= 1275\n\n答：1275。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 55的值。",
    difficulty: 2,
    answer: [1540],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 55 × (55 + 1) / 2\n= 55 × 56 / 2\n= 1540\n\n答：1540。"
  },
  {
    stem: "求1 + 2 + 3 + ... + 60的值。",
    difficulty: 2,
    answer: [1830],
    hint1: "等差数列求和公式",
    hint2: "S = n(n+1)/2",
    solution: "【解题】\nS = 60 × (60 + 1) / 2\n= 60 × 61 / 2\n= 1830\n\n答：1830。"
  },
  {
    stem: "2是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "2的因数只有1和2",
    solution: "【解题】\n2只能被1和2整除\n∴ 2是质数\n\n答：是。"
  },
  {
    stem: "3是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "3的因数只有1和3",
    solution: "【解题】\n3只能被1和3整除\n∴ 3是质数\n\n答：是。"
  },
  {
    stem: "5是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "5的因数只有1和5",
    solution: "【解题】\n5只能被1和5整除\n∴ 5是质数\n\n答：是。"
  },
  {
    stem: "7是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "7的因数只有1和7",
    solution: "【解题】\n7只能被1和7整除\n∴ 7是质数\n\n答：是。"
  },
  {
    stem: "11是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "11的因数只有1和11",
    solution: "【解题】\n11只能被1和11整除\n∴ 11是质数\n\n答：是。"
  },
  {
    stem: "13是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "13的因数只有1和13",
    solution: "【解题】\n13只能被1和13整除\n∴ 13是质数\n\n答：是。"
  },
  {
    stem: "17是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "17的因数只有1和17",
    solution: "【解题】\n17只能被1和17整除\n∴ 17是质数\n\n答：是。"
  },
  {
    stem: "19是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "19的因数只有1和19",
    solution: "【解题】\n19只能被1和19整除\n∴ 19是质数\n\n答：是。"
  },
  {
    stem: "23是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "23的因数只有1和23",
    solution: "【解题】\n23只能被1和23整除\n∴ 23是质数\n\n答：是。"
  },
  {
    stem: "29是质数吗？如果是，写\"是\"；如果不是，写\"否\"。",
    difficulty: 1,
    answer: ["是"],
    hint1: "质数只能被1和自己整除",
    hint2: "29的因数只有1和29",
    solution: "【解题】\n29只能被1和29整除\n∴ 29是质数\n\n答：是。"
  },
  {
    stem: "解不等式：3x + 5 < 13",
    difficulty: 2,
    answer: ["x<2.7"],
    hint1: "移项",
    hint2: "3x < 8",
    solution: "【解题】\n3x + 5 < 13\n3x < 8\nx < 2.7\n\n答：x < 2.7。"
  },
  {
    stem: "解不等式：4x + 5 < 16",
    difficulty: 2,
    answer: ["x<2.8"],
    hint1: "移项",
    hint2: "4x < 11",
    solution: "【解题】\n4x + 5 < 16\n4x < 11\nx < 2.8\n\n答：x < 2.8。"
  },
  {
    stem: "解不等式：5x + 5 < 19",
    difficulty: 2,
    answer: ["x<2.8"],
    hint1: "移项",
    hint2: "5x < 14",
    solution: "【解题】\n5x + 5 < 19\n5x < 14\nx < 2.8\n\n答：x < 2.8。"
  },
  {
    stem: "解不等式：6x + 5 < 22",
    difficulty: 2,
    answer: ["x<2.8"],
    hint1: "移项",
    hint2: "6x < 17",
    solution: "【解题】\n6x + 5 < 22\n6x < 17\nx < 2.8\n\n答：x < 2.8。"
  },
  {
    stem: "解不等式：7x + 5 < 25",
    difficulty: 2,
    answer: ["x<2.9"],
    hint1: "移项",
    hint2: "7x < 20",
    solution: "【解题】\n7x + 5 < 25\n7x < 20\nx < 2.9\n\n答：x < 2.9。"
  },
  {
    stem: "解不等式：8x + 5 < 28",
    difficulty: 2,
    answer: ["x<2.9"],
    hint1: "移项",
    hint2: "8x < 23",
    solution: "【解题】\n8x + 5 < 28\n8x < 23\nx < 2.9\n\n答：x < 2.9。"
  },
  {
    stem: "解不等式：9x + 5 < 31",
    difficulty: 2,
    answer: ["x<2.9"],
    hint1: "移项",
    hint2: "9x < 26",
    solution: "【解题】\n9x + 5 < 31\n9x < 26\nx < 2.9\n\n答：x < 2.9。"
  },
  {
    stem: "解不等式：10x + 5 < 34",
    difficulty: 2,
    answer: ["x<2.9"],
    hint1: "移项",
    hint2: "10x < 29",
    solution: "【解题】\n10x + 5 < 34\n10x < 29\nx < 2.9\n\n答：x < 2.9。"
  },
  {
    stem: "解不等式：11x + 5 < 37",
    difficulty: 2,
    answer: ["x<2.9"],
    hint1: "移项",
    hint2: "11x < 32",
    solution: "【解题】\n11x + 5 < 37\n11x < 32\nx < 2.9\n\n答：x < 2.9。"
  },
  {
    stem: "解不等式：12x + 5 < 40",
    difficulty: 2,
    answer: ["x<2.9"],
    hint1: "移项",
    hint2: "12x < 35",
    solution: "【解题】\n12x + 5 < 40\n12x < 35\nx < 2.9\n\n答：x < 2.9。"
  },
  {
    stem: "直角三角形两直角边分别为4和5，求斜边长。",
    difficulty: 2,
    answer: ["6.40"],
    hint1: "勾股定理",
    hint2: "c² = 4² + 5²",
    solution: "【解题】\nc² = 4² + 5²\n= 16 + 25\n= 41\nc = 6.40\n\n答：斜边长为6.40。"
  },
  {
    stem: "直角三角形两直角边分别为5和6，求斜边长。",
    difficulty: 2,
    answer: ["7.81"],
    hint1: "勾股定理",
    hint2: "c² = 5² + 6²",
    solution: "【解题】\nc² = 5² + 6²\n= 25 + 36\n= 61\nc = 7.81\n\n答：斜边长为7.81。"
  },
  {
    stem: "直角三角形两直角边分别为6和7，求斜边长。",
    difficulty: 2,
    answer: ["9.22"],
    hint1: "勾股定理",
    hint2: "c² = 6² + 7²",
    solution: "【解题】\nc² = 6² + 7²\n= 36 + 49\n= 85\nc = 9.22\n\n答：斜边长为9.22。"
  },
  {
    stem: "直角三角形两直角边分别为7和8，求斜边长。",
    difficulty: 2,
    answer: ["10.63"],
    hint1: "勾股定理",
    hint2: "c² = 7² + 8²",
    solution: "【解题】\nc² = 7² + 8²\n= 49 + 64\n= 113\nc = 10.63\n\n答：斜边长为10.63。"
  },
  {
    stem: "直角三角形两直角边分别为8和9，求斜边长。",
    difficulty: 2,
    answer: ["12.04"],
    hint1: "勾股定理",
    hint2: "c² = 8² + 9²",
    solution: "【解题】\nc² = 8² + 9²\n= 64 + 81\n= 145\nc = 12.04\n\n答：斜边长为12.04。"
  },
  {
    stem: "直角三角形两直角边分别为9和10，求斜边长。",
    difficulty: 2,
    answer: ["13.45"],
    hint1: "勾股定理",
    hint2: "c² = 9² + 10²",
    solution: "【解题】\nc² = 9² + 10²\n= 81 + 100\n= 181\nc = 13.45\n\n答：斜边长为13.45。"
  },
  {
    stem: "直角三角形两直角边分别为10和11，求斜边长。",
    difficulty: 2,
    answer: ["14.87"],
    hint1: "勾股定理",
    hint2: "c² = 10² + 11²",
    solution: "【解题】\nc² = 10² + 11²\n= 100 + 121\n= 221\nc = 14.87\n\n答：斜边长为14.87。"
  },
  {
    stem: "直角三角形两直角边分别为11和12，求斜边长。",
    difficulty: 2,
    answer: ["16.28"],
    hint1: "勾股定理",
    hint2: "c² = 11² + 12²",
    solution: "【解题】\nc² = 11² + 12²\n= 121 + 144\n= 265\nc = 16.28\n\n答：斜边长为16.28。"
  },
  {
    stem: "直角三角形两直角边分别为12和13，求斜边长。",
    difficulty: 2,
    answer: ["17.69"],
    hint1: "勾股定理",
    hint2: "c² = 12² + 13²",
    solution: "【解题】\nc² = 12² + 13²\n= 144 + 169\n= 313\nc = 17.69\n\n答：斜边长为17.69。"
  },
  {
    stem: "直角三角形两直角边分别为13和14，求斜边长。",
    difficulty: 2,
    answer: ["19.10"],
    hint1: "勾股定理",
    hint2: "c² = 13² + 14²",
    solution: "【解题】\nc² = 13² + 14²\n= 169 + 196\n= 365\nc = 19.10\n\n答：斜边长为19.10。"
  },
  {
    stem: "求前6个奇数的和：1 + 3 + 5 + ... + 11",
    difficulty: 3,
    answer: [36],
    hint1: "前n个奇数的和 = n²",
    hint2: "6²",
    solution: "【解题】\n前6个奇数的和 = 6²\n= 36\n\n答：36。"
  },
  {
    stem: "求前7个奇数的和：1 + 3 + 5 + ... + 13",
    difficulty: 3,
    answer: [49],
    hint1: "前n个奇数的和 = n²",
    hint2: "7²",
    solution: "【解题】\n前7个奇数的和 = 7²\n= 49\n\n答：49。"
  },
  {
    stem: "求前8个奇数的和：1 + 3 + 5 + ... + 15",
    difficulty: 3,
    answer: [64],
    hint1: "前n个奇数的和 = n²",
    hint2: "8²",
    solution: "【解题】\n前8个奇数的和 = 8²\n= 64\n\n答：64。"
  },
  {
    stem: "求前9个奇数的和：1 + 3 + 5 + ... + 17",
    difficulty: 3,
    answer: [81],
    hint1: "前n个奇数的和 = n²",
    hint2: "9²",
    solution: "【解题】\n前9个奇数的和 = 9²\n= 81\n\n答：81。"
  },
  {
    stem: "求前10个奇数的和：1 + 3 + 5 + ... + 19",
    difficulty: 3,
    answer: [100],
    hint1: "前n个奇数的和 = n²",
    hint2: "10²",
    solution: "【解题】\n前10个奇数的和 = 10²\n= 100\n\n答：100。"
  },
  {
    stem: "求前11个奇数的和：1 + 3 + 5 + ... + 21",
    difficulty: 3,
    answer: [121],
    hint1: "前n个奇数的和 = n²",
    hint2: "11²",
    solution: "【解题】\n前11个奇数的和 = 11²\n= 121\n\n答：121。"
  },
  {
    stem: "求前12个奇数的和：1 + 3 + 5 + ... + 23",
    difficulty: 3,
    answer: [144],
    hint1: "前n个奇数的和 = n²",
    hint2: "12²",
    solution: "【解题】\n前12个奇数的和 = 12²\n= 144\n\n答：144。"
  },
  {
    stem: "求前13个奇数的和：1 + 3 + 5 + ... + 25",
    difficulty: 3,
    answer: [169],
    hint1: "前n个奇数的和 = n²",
    hint2: "13²",
    solution: "【解题】\n前13个奇数的和 = 13²\n= 169\n\n答：169。"
  },
  {
    stem: "求前14个奇数的和：1 + 3 + 5 + ... + 27",
    difficulty: 3,
    answer: [196],
    hint1: "前n个奇数的和 = n²",
    hint2: "14²",
    solution: "【解题】\n前14个奇数的和 = 14²\n= 196\n\n答：196。"
  },
  {
    stem: "求前15个奇数的和：1 + 3 + 5 + ... + 29",
    difficulty: 3,
    answer: [225],
    hint1: "前n个奇数的和 = n²",
    hint2: "15²",
    solution: "【解题】\n前15个奇数的和 = 15²\n= 225\n\n答：225。"
  }
];

export default 竞赛基础_QUESTIONS;
